Skip to content

Conversation

@elefantel
Copy link
Contributor

This PR fixes the selected address whereby the wallet has more than one account and the selected address is not the first one eth_requestAccounts always returns the accounts in the same order rather than the selected one first. So when the selected address was not the first address the SDK had the incorrect account as selected.

@elefantel elefantel requested a review from a team as a code owner May 30, 2024 15:01
@elefantel elefantel changed the title fix: Selected address fix fix: Selected address on connect May 30, 2024
Copy link
Contributor

@andreahaku andreahaku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@elefantel elefantel merged commit 66f7fa8 into main May 30, 2024
@elefantel elefantel deleted the selected-address-fix branch July 17, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants